import { Column, Entity } from "typeorm";
import { BaseEntity } from '../../base/entity/base';

@Entity('demand_support', { comment: '协助需求' })
export class DemandSupportEntity extends BaseEntity {


    @Column({ comment: '需求ID', unique: true, nullable: false })
    demandId: number;
    
    @Column({ comment: '协助类型', dict: ['车辆', '司机', '导游', '其他'], default: 0 })
    type: number;

    @Column({ comment: '协助内容', type: 'text', nullable: true })
    content: string;

}